package com.nativetalk.service.member.register;

import com.nativetalk.base.RetInfo;
import com.nativetalk.bean.member.TdNtMemberRegister;
import com.nativetalk.bean.member.TdNtMemberThirdRegister;
import com.nativetalk.bean.sms.Sms;
import com.nativetalk.dto.MemberLoginByCode;
import com.nativetalk.dto.MemberRegisterByCode;

public interface MemberRegisterService {
    /**
     * @Purpose  注册
     * @version  1.0
     * @author   lizhun
     * @param    tdNtMemberRegister
     * @return   RetInfo
     */
    public RetInfo register(TdNtMemberRegister tdNtMemberRegister,int version);

    public void allotAssistant(Integer memb_id, Sms sms);
    /**
     * @Purpose  注册发送短信
     * @version  1.0
     * @author   lizhun
     * @param    sms
     * @return   RetInfo
     */
    public RetInfo smsRegister(Sms sms);
    /**
     * @Purpose  商家分享注册
     * @version  1.0
     * @author   lizhun
     * @param    tdNtMemberRegister
     * @return   RetInfo
     */
    public RetInfo registerCoopersion(TdNtMemberRegister tdNtMemberRegister);
    /**
     * @Purpose  第三方登陆注册
     * @version  2.1
     * @author   lizhun
     * @param    tdNtMemberThirdRegister
     * @return   RetInfo
     */
    public RetInfo thirdregister(TdNtMemberThirdRegister tdNtMemberThirdRegister);

    public RetInfo loginByCode(MemberLoginByCode member, int version);


    public RetInfo registerByCode(MemberRegisterByCode member, int version);

}
